using System;
using System.Data;
using System.Xml;



namespace OR.Lazarus.Library.DataTier.Compiled
{
   public class ObjectRefDetail : OR.Lazarus.Library.DataTier.Compiled.Lazarus.ObjectRefDetail
   {
		public ObjectDetail ParentObject
		{
			get
			{
				return ( GetParentObject() );
			}
		}

		protected virtual ObjectDetail GetParentObject()
		{
			ObjectDetail		vReturn		= null;

			if ( this.ParentEntity is ObjectDetail )
			{
				vReturn = ( ObjectDetail )ParentEntity;
			}

			return ( vReturn );
		}
	}
}
   